html,
body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    /* overflow: hidden; */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    /* background: #f7f7f7; */
    background: transparent;
}

footer {
    /* position: fixed;
            width: 100%;
            min-height: 50px;
            border-top: solid 1px #bbb;
            left: 0px;
            bottom: 0px;
            overflow: hidden;
            z-index: 1515151515;
            background-color: #fafafa; */
}

.footer-left {
    width: 50px;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    line-height: 100%;
    padding: 12px 4px;
}

.footer-right {
    position: absolute;
    width: 50px;
    height: 50px;
    right: 0px;
    bottom: 0px;
    text-align: center;
    vertical-align: middle;
    line-height: 100%;
    padding: 12px 5px;
    display: inline-block;
}

.footer-center {
    height: 100%;
    padding: 5px 0px;
    margin-left: 100px;
    margin-right: 50px;
}

.footer-center [class*=input] {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    padding: 5px;
}

.footer-center .input-text {
    background: #fff;
    border: solid 1px #ddd;
    padding: 10px;
    font-size: 16px !important;
    line-height: 18px !important;
    font-family: verdana !important;
    overflow: hidden;
}

.footer-center .input-sound {
    background-color: #eee;
}

.mui-content {
    width: 100vw;
    height: 100vh;
    padding: 0px 0px 50px 0px;
    /* background-color: #f7f7f7; */
    background: transparent;
    overflow: hidden;
}

#msg-list {
    height: 100vh;
    /* overflow: scroll; */
    overflow-y: auto;
    width: 100vw;
    box-sizing: border-box;
    padding: 20px 0 100px;
    position: relative;
}

#msg-list::-webkit-scrollbar {
    display: block;
    background-color: transparent;
    width: 0;
}

.msg-item {
    padding: 8px;
    clear: both;
    list-style: none;
}

.msg-item .mui-item-clear {
    clear: both;
}

.msg-item .msg-user {
    width: 42px;
    height: 42px;
    /* border: solid 1px #d3d3d3; */
    /* background: #fff; */
    vertical-align: top;
    text-align: center;
    float: left;
    color: #ddd;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.msg-item .msg-user img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.msg-item .msg-user-img {
    width: 42px;
    height: 42px;
    display: inline-block;
    border-radius: 50%;
    vertical-align: top;
    text-align: center;
    float: left;
    color: #ddd;
}

.msg-item .msg-container {
    float: left;
    max-width: 75%;
}

.msg-item .msg-content {
    display: inline-block;

    /* border: solid 1px #d3d3d3; */
    background-color: #fff;
    color: #333333;
    padding: 8px;
    vertical-align: top;
    font-size: 15px;
    position: relative;
    margin: 0px 8px;
    /* max-width: 75%; */
    min-width: 35px;
    /* border-radius: 2px 18px 18px 18px; */
    border-radius: 5px;
    /* float: left; */
}

.msg-item .msg-content .msg-content-inner {
    overflow-x: hidden;
}

.msg-item .msg-content .msg-content-arrow {
    position: absolute;
    /* border: solid 1px #d3d3d3; */
    border-right: none;
    border-top: none;
    background-color: #fff;
    width: 10px;
    height: 10px;
    left: -5px;
    top: 10px;
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}

.msg-item-self .msg-user,
/* .msg-item-self .msg-content { */
.msg-item-self .msg-container {
    float: right;
    text-align: right;
}

.msg-item-self .msg-container .msg-content-inner {
    text-align: left;
}

.msg-container .msg-content-inner a {
    text-decoration: underline;
}

.msg-item-self .name-wrap {
    flex-direction: row-reverse;
}

.msg-item-self .name-wrap .tag-wrap {
    flex-direction: row-reverse;
}

.msg-item-self .user-name {
    text-align: right;
    padding-left: 5px;
    padding-right: 10px;
}

.msg-item-self .msg-content .msg-content-arrow {
    left: auto;
    right: -5px;
    -webkit-transform: rotateZ(225deg);
    transform: rotateZ(225deg);
}

.msg-item-self .msg-content {
    /* border-radius: 18px 2px 18px 18px; */
}

.msg-item-self .msg-content,
.msg-item-self .msg-content .msg-content-arrow {
    background-color: #dbd4f5;
    color: #333;
    border-color: #dbd4f5;
}

footer .mui-icon {
    color: #dbd4f5;
}

footer .mui-icon:active {
    color: #007aff !important;
}

footer .mui-icon-paperplane:before {
    content: "发送";
}

footer .mui-icon-paperplane {
    /*-webkit-transform: rotateZ(45deg);
            transform: rotateZ(45deg);*/
    font-size: 16px;
    word-break: keep-all;
    line-height: 100%;
    padding-top: 6px;
    color: rgba(0, 135, 250, 1);
}

#msg-sound {
    -webkit-user-select: none !important;
    user-select: none !important;
}

.rprogress {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 140px;
    height: 140px;
    margin-left: -70px;
    margin-top: -70px;
    /* background-image: url(../images/arecord.png); */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 30px 30px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    /* display: none; */
    -webkit-transition: .15s;
    z-index: 100;
}

.rschedule {
    background-color: rgba(0, 0, 0, 0);
    border: 5px solid rgba(0, 183, 229, 0.9);
    opacity: .9;
    border-left: 5px solid rgba(0, 0, 0, 0);
    border-right: 5px solid rgba(0, 0, 0, 0);
    border-radius: 50px;
    box-shadow: 0 0 15px #2187e7;
    width: 46px;
    height: 46px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -23px;
    margin-top: -23px;
    -webkit-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
}

.r-sigh {
    display: none;
    border-radius: 50px;
    box-shadow: 0 0 15px #2187e7;
    width: 46px;
    height: 46px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -23px;
    margin-top: -23px;
    text-align: center;
    line-height: 46px;
    font-size: 40px;
    font-weight: bold;
    color: #2187e7;
}

.rprogress-sigh {
    background-image: none !important;
}

.rprogress-sigh .rschedule {
    display: none !important;
}

.rprogress-sigh .r-sigh {
    display: block !important;
}

.rsalert {
    font-size: 12px;
    color: #bbb;
    text-align: center;
    position: absolute;
    border-radius: 5px;
    width: 130px;
    margin: 5px 5px;
    padding: 5px;
    left: 0px;
    bottom: 0px;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.cancel {
    background-color: darkred;
}

.footer-left-1 {
    float: left;
    width: 50px;
    height: 50px;
    text-align: center;
    vertical-align: middle;
    line-height: 100%;
    padding: 12px 4px;
}

.footer-left {
    float: left;
    top: 0px;
}

footer {
    height: auto;
}

.time {
    text-align: center;
}

.time span {
    padding: 0px 5px;
    font-size: 12px;
    border-radius: 2px;
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
}

.footer-center {
    width: 100% !important;
    margin: 0;
}

#fx-footer {
    width: 100%;
    height: 100px;
    background: #F46CEF;
}

/* 红包 */
.msg-name {
    font-size: 12px;
    color: #333333;
    margin-left: 50px;
}

.msg-item-self .msg-name {
    text-align: right;
    margin-right: 50px;
    margin-left: 0;
}

/* 红包 */
.red-wrap {
    position: relative;
}

.red-wrap .game {
    position: absolute;
    top: 15px;
    left: 70px;

}

.red-wrap .game p {
    color: #fff;
    font-size: 12px;
}

.red-wrap .game p.red-game-text {
    color: #f5d03d;
    font-size: 14px;
}

.red-wrap .game-type {
    position: absolute;
    font-size: 10px;
    color: #757575;
    bottom: 0px;
    left: 15px;
    ;
}

.msg-item-self .red-wrap .game-type {
    left: 5px;
    ;
}

.red-envelope .msg-content {
    background-color: transparent;
    border-color: transparent;
    padding-left: 0;
    /* margin-left: 0; */
    padding-top: 0;
}

.msg-item-self.red-envelope .msg-content {
    padding-right: 0;
    /* margin-right: 0; */
    padding-top: 0;
}

.red-envelope .msg-content img {
    width: 216px;
}

.red-envelope .msg-content .red-img {
    background-image: url('../image/icon/bg_luckybagdialog_style2.png');

    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 216px;
    height: 72px;
}

.red-envelope .msg-content-arrow {
    display: none;
}

.red-envelope .msg-content .red-img.red-img-no {
    background-image: url('../image/icon/bg_luckybagdialog_style2_d.png');

}

.red-envelope.money .msg-content .red-img {
    background-image: url('../image/icon/bg_luckybagdialog.png');
}

.red-envelope.money .msg-content .red-img.red-img-no {
    background-image: url('../image/icon/mp_bg_luckybagdialog_d.png');
}

/* 撤回 */
.recall {
    font-size: 12px;
    color: #999;
    text-align: center;
    padding: 10px 0;
}

.recall span {
    color: #999;
}

/* 视频 */
.msg-video {
    position: relative;
}

.msg-video img {
    max-width: 100px;
}

.video-icon {
    background-image: url('../image/icon/album_ic_playclip.png');
    background-repeat: no-repeat;
    background-size: 100%;
    width: 25px;
    height: 25px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50px;
    margin-top: -12.5px;
    margin-left: -12.5px;
}

/* 红包提示 */
.hongbao-msg {
    font-size: 12px;
    text-align: center;
    color: #999;
    padding: 10px 0;
}

.hongbao-msg span {
    color: orange;
}

/* 阅后即焚 */
.read-burn .msg-content {
    background-color: transparent;
    border-color: transparent;
    padding-left: 0;
    padding-top: 0;
}

.msg-item-self.read-burn .msg-content {
    padding-right: 0;
    padding-top: 0;
}

.read-burn .msg-content-arrow {
    display: none;
}

.read-burn .msg-content .burn-msg {
    background-image: url('../image/icon/message_view_holder_left_snapchat.png');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 82px;
    height: 72px;
}

.read-burn .msg-content .burn-msg.burn {
    background-image: url('../image/icon/message_view_holder_left_snapchat_disable.png');
}

.msg-item-self.read-burn .msg-content .burn-msg {
    background-image: url('../image/icon/message_view_holder_right_snapchat.png');
}

.msg-item-self.read-burn .msg-content .burn-msg.burn {
    background-image: url('../image/icon/message_view_holder_right_snapchat_disable.png');
}

/* 位置 */
.msg-area .msg-content {
    background-color: transparent;
    border-color: transparent;
    padding-left: 0;
    padding-top: 0;
}

.msg-item-self.msg-area .msg-content {
    padding-right: 0;
    padding-top: 0;
}

.msg-area .msg-content-arrow {
    display: none;
}

/* 未读 */
.read-status {
    color: red;
    font-size: 12px;
}

/* 已读 */
.read-status.ready-read {
    color: #4caf50;
}

#msg-bottom {
    /* height: 20px; */
    height: 1px;
    width: 100%;
}

/* 加载更多 */
.loadmore {
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    text-align: center;
    background-image: url('../image/loading.gif');
    background-size: 20px 20px;
    background-position: center center;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    width: 100%;
    box-sizing: border-box;
}

/* 语音 */
.audio {
    background-image: url('../res/img/yy.png');
    background-repeat: no-repeat;
    background-size: 25px 25px;
    width: 25px;
    height: 25px;
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
}

.audio.aplaying {
    background-image: url('../res/img/yy.gif');
}

.msg-item-self .audio {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
}

/* 提示 */
.tips {
    background-color: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 10px;
    padding: 6px 14px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}


/* 座驾 */
.car-wrap img {
    height: 60px;
    position: fixed;
    left: 0;
    bottom: 30vh;
    z-index: 1;
    opacity: 0;
    -webkit-animation-name: 'carshow';
    -webkit-animation-duration: 5s;
    -webkit-animation-timing-function: ease;
    -webkit-animation-delay: 0;
    -webkit-animation-iteration-count: 1;
}

@keyframes carshow {
    0% {
        opacity: 0;
        left: 100vw;
    }

    100% {
        opacity: 1;
        left: 0;
    }
}

.user-name {
    padding-left: 10px;
    font-size: 12px;
}


/* 通话 */
.msg-voice {
    display: flex;
    align-items: center;
}

.msg-voice-icon {
    width: 25px;
    height: 25px;
    background-image: url('../image/icon/chat1.png');
    background-repeat: no-repeat;
    background-size: 100%;
    display: inline-block;
    margin-right: 7px;
}

/* .msg-item-self .msg-voice{
    flex-direction: row-reverse;
} */

.msg-voice-icon2 {
    background-image: url('../image/icon/chat2.png');
}



/* 入群申请 等 处理 */
.msg-apply .btn-wrap {
    margin-top: 20px;
}

.msg-apply .btn-wrap .btn {
    width: 40%;
    line-height: 35px;
    background: #eee;
}

.msg-apply .btn-wrap .btn2 {
    background: #F46CEF;
    color: #fff;
}

.msg-apply .apply-reson {
    margin-top: 10px;
    font-size: 14px;
    color: #000;
}

#view {
    position: relative;
}

footer {
    /* position: sticky;
    position: -webkit-sticky; */
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 10;
}

footer .footer {
    background: #f5f5f5;
    padding: 10px 0;
    box-sizing: border-box;
}

footer .input {
    display: flex;
    align-items: flex-end;
}

footer .input .tool-img {
    height: 27px;
    margin: 4px 7px;
}

footer .input-wrap {
    padding: 5px 10px;
    width: calc(100% - 44px - 78px);
    border-radius: 15px;
    background: #fff;
    display: flex;
    align-items: flex-end;
}

footer .css-input {
    box-sizing: border-box;
    margin-bottom: 0;
    font-size: 14px;
    word-break: break-all;
    line-height: 1.2;
    width: calc(100% - 25px);
    min-height: 25px;
    line-height: 25px;
}

footer #js-input {
    -webkit-user-select: text;

}

footer #js-input.istop:empty:before {
    content: '置顶消息 20金币/条';
    color: #aaa;
}

footer #js-input:focus:before {
    content: none;
}

/* 录音显示 */
#js-input2 {
    /* background: #eee; */
    text-align: center;
    color: #777;
}

footer #js-input img {
    height: 20px;
}


/* 聊天操作 */
.moreoptions {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.moreoptions .op {
    padding: 15px;
}

.moreoptions .op img {
    width: 25px;
    height: 25px;
}

/* 发送 */
.send-btn {
    background: #CD7DFE;
    color: #fff;
    line-height: 30px;
    border-radius: 5px;
    width: 64px;
    margin-left: 9px;
    text-align: center;
    font-size: 13px;
}

/* 系统公告 */
.notice {
    margin: 0 16px;
    background: linear-gradient(6deg, #FFA7FE, #FFBBD3);
    box-shadow: 0px 1px 10px 0px rgba(230, 230, 230, 0.48);
    border-radius: 10px;
    display: flex;
    align-items: center;
    position: relative;
    padding: 6px;
}

.notice img.avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    margin-right: 8px;
    border: 1.5px solid #fff
}


.notice .info .name {
    font-size: 13px;
    color: #fff;
}

.notice .info .value {
    font-size: 12px;
    color: #fff;
}

.notice .djtime {
    position: absolute;
    right: 10px;
    top: 3px;
    display: flex;
    align-items: center;
}

.notice .djtime span {
    color: #fff;
    font-size: 12px;
}

.notice .djtime img {
    margin-left: 2px;
    width: 13px;
    height: 13px;
}

/* 表情 */
.emo-wrap {
    height: 35vh;
    padding: 10px;
    overflow-y: scroll;
    position: relative;
}

.emo-wrap .del-btn {
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: #fff;
}

.emo-wrap img {
    width: 30px;
    margin-bottom: 10px;
}

/* 用户资料 */
.info-box {
    background-image: url('../image/chat/img_card_top.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100%;
    background-color: #fff;
    margin: 10px;
    border-radius: 10px;
    overflow: hidden;
    padding: 15px 10px;
}

.info-box .info-ul {
    font-size: 12px;
}

.info-box .info-ul .list {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.info-box .rz-bg {
    background-size: 15px 15px;
    background-position: 1px center;
    background-repeat: no-repeat;
    padding: 1px 0;
    padding-left: 18px;
    border-radius: 15px;
    padding-right: 5px;
    font-size: 10px;
}

.info-box .rz-man {
    background-image: url('../image/chat/icon_zhenren.png');
    background-color: rgba(75, 200, 164, 0.3);
    color: rgba(75, 200, 164, 1);
}

.info-box .rz-name {
    background-image: url('../image/chat/icon_shiming.png');
    background-color: rgba(199, 122, 254, 0.3);
    color: rgba(199, 122, 254, 1);
}

.info-box .rz {
    color: rgba(199, 122, 254, 1);
    background-color: #fbfbfb;
    border-radius: 15px;
    font-size: 10px;
    padding: 0 5px;
}

.info-box .i-title {
    font-weight: bold;
    margin-right: 7px;
}

.info-box .info-icon {
    width: 15px;
    margin-right: 7px;
}

.info-box .info-tag {
    border: 1px solid #CD7DFE;
    color: #333;
    border-radius: 15px;
    padding: 0px 5px;
}

.info-box .info-img {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    margin-right: 5px;
}

.info-box .add-btn {
    border-radius: 5px;
    width: 60px;
    height: 60px;
    background-color: #f3f3f3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-box .add-btn img {
    width: 50%;
}

.info-box .add-btn span {
    color: #CD7DFE;
    font-size: 10px;
    margin-top: 5px;
}

/* 附加面板 */
.extra-wrap {
    padding: 30px 0;
    border-top: 1px solid #fff;
}

.extra-wrap .list {
    width: 25%;
    text-align: center;
}

.extra-wrap .list img {
    width: 40%;
}

/* 快捷 常用语 */
.quick-word {
    overflow-x: auto;
    width: 100%;
    margin-bottom: 5px;
    align-items: center;
    display: flex;
}

.quick-word span {
    word-break: keep-all;
    background: #fff;
    /* margin: 0 5px; */
    /* line-height: 2; */
    padding: 0 7px;
    border-radius: 15px;
    font-size: 14px;
    margin-left: 5px;
    white-space: nowrap;
}

/* 资料完善 */
.wanshan {
    position: fixed;
    top: 10px;
    width: 94%;
    left: 3%;
    border-radius: 7px;
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
    z-index: 1;
}

.wanshan .left .title {
    color: #333;
}

.wanshan .left .txt {
    font-size: 10px;
}

.wanshan .right .btn {
    color: #fff;
    font-size: 12px;
    border-radius: 20px;
    padding: 5px 15px;
    margin-right: 10px;
    background: linear-gradient(to right, #CD7DFE, #7338d8);
}

/* 提示 */
.tip-content {
    color: #fff;
}

.price {
    font-size: 12px;
    color: red;
    margin-left: 10px;
}

.price.getting {
    color: #4caf50;
}


.set-top-icon {
    display: inline-block;
    content: '';
    background-image: url('../image/chat/chat_top_close_icon.png');
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: center;
    width: 41px;
    height: 25px;
    margin-right: 5px;
}

.set-top-icon.active {
    background-image: url('../image/chat/chat_top_open_icon.png');
}

/* 置顶 */
.msg-wrap.topmsg {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
}

.msg-wrap.topmsg .msg-item {
    background-color: #C28FFF;
    padding-bottom: 0;
    position: relative;
}

.msg-wrap.topmsg .msg-item::after {
    width: 100%;
    height: 15px;
    left: 0;
    display: inline-block;
    content: '';
    background-image: url('../image/chat/chat_top_bg.9.png');
    background-position: left bottom;
    background-size: 100%;
    background-repeat: repeat-x;

    position: absolute;
    margin-top: -11px;
    z-index: -1;
}

.msg-wrap.topmsg .msg-item .user-name {
    color: #eee;
}

.msg-wrap.topmsg .msg-item .msg-content {
    background: transparent;
    color: #fff;
    padding: 0 8px;
    margin: 0;
}

.msg-wrap.topmsg .msg-item .msg-container {
    max-width: calc(100% - 42px);
}

.msg-wrap.topmsg .msg-item .msg-content .msg-content-inner div {
    color: #fff;
}

.msg-wrap.topmsg .msg-item .msg-content .msg-content-arrow {
    display: none;
}

/* 
.msg-wrap.topmsg::after {
    width: 100%;
    height: 15px;
    display: inline-block;
    content: '';
    
    position: fixed;
    z-index: -1;
    margin-top: -11px;
} */

.msg-wrap.topmsg .time {
    position: absolute;
    right: 0;
}

.msg-wrap.topmsg .time span {
    background: transparent;
}

/* 金币 */
.jinbi-icon {
    width: 15px;
    height: 15px;
    display: inline-block;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-image: url('../image/icon/coin.png');
    margin-right: 5px;
}

/* 礼物 */
.gift-wrap {
    display: flex;
    align-items: center;
    min-width: 60vw;
}

.gift-wrap .g-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin: 0 15px;
}

.gift-wrap .g-content {
    /* padding: 10px 15px; */
}

.gift-wrap h3 {
    font-size: 16px;
    font-weight: bold;
}

.gift-wrap p {
    margin: 5px 0;
    font-size: 14px;
}

.gift-wrap .price {
    font-size: 12px;
    display: flex;
    color: #999;
}